const app = getApp()
Component({
    data: {
        navBarHeight: app.globalData.navBarHeight,
        menuRight: app.globalData.menuRight,
        menuBotton: app.globalData.menuBotton,
        menuHeight: app.globalData.menuHeight,
    },
    attached: function() {

    },
    methods: {
        back () {
            // var pages = getCurrentPages();
            // var beforePage = pages[pages.length - 2];
            // beforePage.loadData();
            wx.navigateBack({
                delta: 1,
            })
        }  
    },
})